package com.heo.protocol.packet;

public final class DeviceCommand
{
  /**
   * 登录请求
   */
  public final static short LOGIN_REQ = 0x0001;
  /**
   * 登录应答
   */
  public final static short LOGIN_RESP = (short) 0x8001;

  /**
   * 断开连接请求
   */
  public final static short LOGINOUT_REQ = 0x0002;
  /**
   * 断开连接应答
   */
  public final static short LOGINOUT_RESP = (short) 0x8002;

  /**
   * 心跳请求
   */
  public final static short HEART_REQ = 0x0003;
  /**
   * 心跳应答
   */
  public final static short HEART_RESP = (short) 0x8003;
  /**
   * 心跳请求
   */
  public final static short HEART_BY_SINGAL_REQ = 0x0011;
  /**
   * 心跳应答
   */
  public final static short HEART_BY_SINGAL_RESP = (short) 0x8011;
  /**
   * 更新设备参数请求
   */
  public final static short UPDATE_DEVICE_PARA_REQ = 0x0004;
  /**
   * 更新设备参数应答
   */
  public final static short UPDATE_DEVICE_PARA_RESP = (short) 0x8004;
  /**
   * 获得设备参数请求
   */
  public final static short GET_DEVICE_PARA_REQ = 0x0005;
  /**
   * 获得设备参数应答
   */
  public final static short GET_DEVICE_PARA_RESP = (short) 0x8005;
  /**
   * 获得设备通道参数请求
   */
  public final static short GET_DEVICE_CHANNEL_PARA_REQ = 0x0006;
  /**
   * 获得设备通道参数应答
   */
  public final static short GET_DEVICE_CHANNEL_PARA_RESP = (short) 0x8006;
  /**
   * 获得服务器列表请求
   */
  public final static short GET_SERVER_LIST_REQ = 0x0007;
  /**
   * 获得服务器列表应答
   */
  public final static short GET_SERVER_LIST_RESP = (short) 0x8007;
  /**
   * 获得服务器列表请求
   */
  public final static short GET_DEBUG_SERVER_LIST_REQ = 0x0008;
  /**
   * 获得服务器列表应答
   */
  public final static short GET_DEBUG_SERVER_LIST_RESP = (short) 0x8008;
  /**
   * 投币请求
   */
  public final static short PUT_COIN_REQ = 0x0009;
  /**
   * 投币应答
   */
  public final static short PUT_COIN_RESP = (short) 0x8009;

  /**
   * 上传日志请求，服务器发起
   */
  public final static short SET_UPLOAD_LOG_REQ = 0x000A;
  /**
   * 上传日志应答
   */
  public final static short SET_UPLOAD_LOG_RESP = (short) 0x800A;

  /**
   * 上传日志请求
   */
  public final static short UPLOAD_LOG_REQ = 0x000B;
  /**
   * 上传日志应答
   */
  public final static short UPLOAD_LOG_RESP = (short) 0x800B;

  /**
   * 固件升级通知，服务器发起
   */
  public final static short FIRMWARE_NOTICE_REQ = 0x000C;
  /**
   * 固件升级应答
   */
  public final static short FIRMWARE_NOTICE_RESP = (short) 0x800C;

  /**
   * 固件升级请求
   */
  public final static short FIRMWARE_DOWNLOAD_REQ = 0x000D;
  /**
   * 固件升级应答
   */
  public final static short FIRMWARE_DOWNLOAD_RESP = (short) 0x800D;
  /**
   * 获取设备二维码请求
   */
  public final static short GET_DEVICE_CODE_REQ = 0x000E;
  /**
   * 获取设备二维码应答
   */
  public final static short GET_DEVICE_CODE_RESP = (short) 0x800E;
  /**
   * 反向扫码请求
   */
  public final static short READ_DEVICE_CODE_REQ = 0x000F;
  /**
   * 反向扫码应答
   */
  public final static short READ_DEVICE_CODE_RESP = (short) 0x800F;
  
  /**
   * 修改设备登录密码请求
   */
  public final static short EDIT_LOGIN_PASSWORD_REQ = 0x0010;
  /**
   * 改设备登录密码应答
   */
  public final static short EDIT_LOGIN_PASSWORD_RESP = (short) 0x8010;
  
  /**
   * 启动设备请求
   */
  public final static short START_DEVICE_REQ = 0x0020;
  /**
   * 启动设备应答
   */
  public final static short START_DEVICE_RESP = (short) 0x8020;
  /**
   * 重新启动设备请求
   */
  public final static short REBOOT_DEVICE_REQ = 0x0022;
  /**
   * 重新启动设备应答
   */
  public final static short REBOOT_DEVICE_RESP = (short) 0x8022;
  /**
   * 状态上报请求
   */
  public final static short REPORT_DEVICE_STATUS_REQ = 0x0021;
  /**
   * 状态上报应答
   */
  public final static short REPORT_DEVICE_STATUS_RESP = (short) 0x8021;
  
}
